'''
Created on 14.10.2011

@author: hkh
'''
from CashFlowUtils.IceBonds import *
from Calendar.Iceland import *
from CashFlowUtils.CpiCurve import *
from datetime import date
from datetime import timedelta


ddate = date(2011,10,12)

yld = 0.02
sec1 = RIKB120824()
print sec1.description
print sec1.dirtyprice(ddate, yld)
yld = 0.02
sec1 = RIKB130517()
print sec1.dirtyprice(ddate, yld)
yld = 0.035
sec1 = RIKB161013()
print sec1.dirtyprice(ddate, yld)
yld = 0.04
sec1 = RIKB190226()
print sec1.dirtyprice(ddate, yld)
yld = 0.06
sec1 = RIKB250612()
print sec1.dirtyprice(ddate, yld)
yld = 0.06
sec1 = RIKB310124()
print sec1.dirtyprice(ddate, yld)
print '-------------------'
yld = 0.04
sec1 = RIKB120824()
print sec1.dirtyprice(ddate, yld)
yld = 0.04
sec1 = RIKB130517()
print sec1.dirtyprice(ddate, yld)
yld = 0.055
sec1 = RIKB161013()
print sec1.dirtyprice(ddate, yld)
yld = 0.06
sec1 = RIKB190226()
print sec1.dirtyprice(ddate, yld)
yld = 0.08
sec1 = RIKB250612()
print sec1.dirtyprice(ddate, yld)
yld = 0.08
sec1 = RIKB310124()
print sec1.dirtyprice(ddate, yld)
print '-------------------'
yld = 0.06
sec1 = RIKB120824()
print sec1.dirtyprice(ddate, yld)
yld = 0.06
sec1 = RIKB130517()
print sec1.dirtyprice(ddate, yld)
yld = 0.075
sec1 = RIKB161013()
print sec1.dirtyprice(ddate, yld)
yld = 0.08
sec1 = RIKB190226()
print sec1.dirtyprice(ddate, yld)
yld = 0.1
sec1 = RIKB250612()
print sec1.dirtyprice(ddate, yld)
yld = 0.1
sec1 = RIKB310124()
print sec1.dirtyprice(ddate, yld)
print '-------------------'
yld = 0.08
sec1 = RIKB120824()
print sec1.dirtyprice(ddate, yld)
yld = 0.08
sec1 = RIKB130517()
print sec1.dirtyprice(ddate, yld)
yld = 0.095
sec1 = RIKB161013()
print sec1.dirtyprice(ddate, yld)
yld = 0.1
sec1 = RIKB190226()
print sec1.dirtyprice(ddate, yld)
yld = 0.12
sec1 = RIKB250612()
print sec1.dirtyprice(ddate, yld)
yld = 0.12
sec1 = RIKB310124()
print sec1.dirtyprice(ddate, yld)
